import { defineStore } from "pinia";
import {ref} from 'vue'
export const usePayStore = defineStore('pay', () => {
    const payPrice = ref(null)
    // 存支付价格action
    function getPayPrice(price) {
        console.log(price);
        payPrice.value = price
    }

    return {
        payPrice,
        getPayPrice
    }
}, {
    persist: true
})